package com.liang.beikebusinesshandler.core;

import java.util.List;

/**
 * Excel处理程序
 *
 * @author liangyehao
 * @version 1.0
 * @date 2021/4/24 10:46
 * @content
 */
public abstract class AbstractExcelHandler<T> implements ExcelHandler<T> {

    @Override
    public List<T> handle(List<T> origin){
        List<T> weedOuted = this.weedOut(origin);
        List<T> sorted = this.sort(weedOuted);
        return this.deDuplication(sorted);
    }
}
